package com.ditian.ret.faceset;

import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.ditian.model.FailureDetail;
import com.ditian.ret.Common;

public abstract class FaceSetCommon extends Common{
	
	/**
	 * FaceSet的标识
	 */
	@JSONField(name="face_token")
	private String facesetToken;
	
	/**
	 * 用户自定义的FaceSet标识，如果未定义则返回值为空
	 */
	@JSONField(name="outer_id")
	private String outerId;
	
	/**
	 * 操作结束后FaceSet中的face_token总数量
	 */
	@JSONField(name="face_count")
	private int faceCount;
	
	/**
	 * 无法被加入FaceSet的face_token以及原因
	 */
	@JSONField(name="failure_detail")
	private List<FailureDetail> failureDetail;

	public String getFacesetToken() {
		return facesetToken;
	}

	public void setFacesetToken(String facesetToken) {
		this.facesetToken = facesetToken;
	}

	public String getOuterId() {
		return outerId;
	}

	public void setOuterId(String outerId) {
		this.outerId = outerId;
	}

	
	public int getFaceCount() {
		return faceCount;
	}

	public void setFaceCount(int faceCount) {
		this.faceCount = faceCount;
	}

	public List<FailureDetail> getFailureDetail() {
		return failureDetail;
	}

	public void setFailureDetail(List<FailureDetail> failureDetail) {
		this.failureDetail = failureDetail;
	}

	@Override
	public String toString() {
		return "FaceSetCommon [facesetToken=" + facesetToken + ", outerId="
				+ outerId + ", faceCount=" + faceCount + ", failureDetail="
				+ failureDetail + "]"+super.toString();
	}

	
}
